<?php if ($this->group && $this->right) :?>
<h1>Revoke right</h1>

<form action="<?= $this->route("groups", "revoke") ?>" method="post">
<p>
	Are you sure that you want to revoke the the right <b><?= $this->right->name ?></b> from the group <b><?= $this->group->name ?></b>?
<div>
<input type="hidden" name="group" value="<?= $this->group->id; ?>" />
<input type="hidden" name="handle" value="<?= $this->right->handle; ?>" />
<input type="submit" name="confirm" value="Yes" />
<input type="submit" name="confirm" value="No" />
</div>
</form>

<?php else: ?>
<p>Error in parameters.</p>
<?php endif;?>